import twitter


api = twitter.Api(username='xxxxx',password='xxxxxxxxx')
statuses = api.GetPublicTimeline()
users = api.GetFriends()
for u in users:
	statuses = api.GetUserTimeline(u.name)
	for s in statuses:
		print s.text

